package com.hxh.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2023/7/4 23:59
 */
@Controller
@ResponseBody
public class TestController {

    @RequestMapping("/hello")
    public String sayHello() {
        return "Hello~";
    }
}
